package main

import (
	"github.com/gin-gonic/gin"
	"go.uber.org/zap"
	_ "yukao1/init"
	"yukao1/routers"
)

func main() {
	//初始gin 框架
	r := gin.Default()

	//调用路由
	routers.Router(r)
	zap.S().Info("启动成功：：：：8899")
	//监听端口8899
	r.Run(":8899")
}
